//package com.ruyuan.eshop.construction.dao;
//
//import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
//import com.baomidou.mybatisplus.core.toolkit.Wrappers;
//import com.ruyuan.eshop.common.dao.BaseDAO;
//import com.ruyuan.eshop.construction.domain.entity.AuditContentConfigDO;
//import com.ruyuan.eshop.common.enums.construction.AuditCustomTypeEnum;
//import com.ruyuan.eshop.construction.mapper.AuditContentConfigMapper;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Repository;
//
//import java.util.List;
//
///**
// * 商品审核内容配置
// *
// * @author zhonghuashishan
// */
//@Repository
//@Slf4j
//public class AuditContentConfigDAO extends BaseDAO<AuditContentConfigMapper, AuditContentConfigDO> {
//
//
//    /**
//     * 统计定制id对应的数量
//     * @param customIds
//     * @param auditCustomTypeEnum
//     * @return
//     */
//    public Integer countByCustomIds(List<String> customIds, AuditCustomTypeEnum auditCustomTypeEnum) {
//        LambdaQueryWrapper<AuditContentConfigDO> queryWrapper = Wrappers.lambdaQuery();
//        queryWrapper.eq(AuditContentConfigDO::getCustomType, auditCustomTypeEnum)
//                .in(AuditContentConfigDO::getCustomId, customIds);
//        return this.count(queryWrapper);
//    }
//
//}
